#ifndef __TEXTURE_MANAGER_HPP__
#define __TEXTURE_MANAGER_HPP__

#include <map>
#include <string>


class TextureManager
{
public:
	static TextureManager*  GetInstance();
	bool                    LoadTexture( std::string fileName );
	bool                    UnloadTexture( std::string fileName );
	void*                   GetTexture( std::string fileName );

private:
	TextureManager();

	bool                    IsAlreadyLoaded( const std::string &fileName );

	static TextureManager*                  m_instance;
	std::map<std::string, void*>            m_texMap;
};

#endif